package com.sky.mapper;

import com.sky.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface OrdersMapper {
    void insert(Orders orders);

    @Select("select * from orders where id=#{id}")
    Orders getById(Long id);

    void updateStatus(Orders orders);
}
